package com.example.demo.service;

import com.example.demo.entity.ReturnData;
import com.example.demo.entity.TUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author lands
 * @since 2024-11-05
 */
public interface TUserService extends IService<TUser> {

    List<TUser> getList();

    ReturnData login(TUser tUser);

    ReturnData register(TUser tUser);

    ReturnData getCode(String email) throws InterruptedException;
}
